home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news text
| default
| |
99%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 66 75 6e 64 70 |Path: ne|ws.fundp|
|00000010| 2e 61 63 2e 62 65 21 4e | 65 77 73 6d 61 73 74 65 |.ac.be!N|ewsmaste|
|00000020| 72 0a 46 72 6f 6d 3a 20 | 46 72 61 6e 63 69 73 63 |r.From: |Francisc|
|00000030| 6f 20 4d 65 6c 6f 20 4c | 65 64 65 72 6d 61 6e 6e |o Melo L|edermann|
|00000040| 20 3c 66 6d 65 6c 6f 40 | 62 69 71 2e 66 75 6e 64 | <fmelo@|biq.fund|
|00000050| 70 2e 61 63 2e 62 65 3e | 0a 4e 65 77 73 67 72 6f |p.ac.be>|.Newsgro|
|00000060| 75 70 73 3a 20 63 6f 6d | 70 2e 6c 61 6e 67 2e 63 |ups: com|p.lang.c|
|00000070| 0a 53 75 62 6a 65 63 74 | 3a 20 61 72 72 61 79 20 |.Subject|: array |
|00000080| 6f 66 20 70 6f 69 6e 74 | 65 72 73 20 74 6f 20 61 |of point|ers to a|
|00000090| 20 74 72 65 65 20 73 74 | 72 75 63 74 75 72 65 20 | tree st|ructure |
|000000a0| 3f 20 20 28 20 72 69 67 | 68 74 20 70 6f 73 74 2c |? ( rig|ht post,|
|000000b0| 20 74 68 65 20 6f 74 68 | 65 72 20 6f 6e 65 20 68 | the oth|er one h|
|000000c0| 61 73 20 61 20 6d 69 73 | 73 20 2a 20 29 0a 44 61 |as a mis|s * ).Da|
|000000d0| 74 65 3a 20 31 30 20 4a | 61 6e 20 31 39 39 36 20 |te: 10 J|an 1996 |
|000000e0| 31 31 3a 30 34 3a 34 36 | 20 47 4d 54 0a 4f 72 67 |11:04:46| GMT.Org|
|000000f0| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 46 55 4e 44 50 |anizatio|n: FUNDP|
|00000100| 2c 20 4e 61 6d 75 72 2c | 20 42 65 6c 67 69 75 6d |, Namur,| Belgium|
|00000110| 0a 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 34 64 |.Message|-ID: <4d|
|00000120| 30 36 67 65 24 39 6c 63 | 40 68 65 72 6d 65 73 2e |06ge$9lc|@hermes.|
|00000130| 66 75 6e 64 70 2e 61 63 | 2e 62 65 3e 0a 4e 4e 54 |fundp.ac|.be>.NNT|
|00000140| 50 2d 50 6f 73 74 69 6e | 67 2d 48 6f 73 74 3a 20 |P-Postin|g-Host: |
|00000150| 62 69 71 2d 70 63 31 2e | 62 69 71 2e 66 75 6e 64 |biq-pc1.|biq.fund|
|00000160| 70 2e 61 63 2e 62 65 0a | 4d 69 6d 65 2d 56 65 72 |p.ac.be.|Mime-Ver|
|00000170| 73 69 6f 6e 3a 20 31 2e | 30 0a 43 6f 6e 74 65 6e |sion: 1.|0.Conten|
|00000180| 74 2d 54 79 70 65 3a 20 | 74 65 78 74 2f 70 6c 61 |t-Type: |text/pla|
|00000190| 69 6e 3b 20 63 68 61 72 | 73 65 74 3d 75 73 2d 61 |in; char|set=us-a|
|000001a0| 73 63 69 69 0a 43 6f 6e | 74 65 6e 74 2d 54 72 61 |scii.Con|tent-Tra|
|000001b0| 6e 73 66 65 72 2d 45 6e | 63 6f 64 69 6e 67 3a 20 |nsfer-En|coding: |
|000001c0| 37 62 69 74 0a 58 2d 4d | 61 69 6c 65 72 3a 20 4d |7bit.X-M|ailer: M|
|000001d0| 6f 7a 69 6c 6c 61 20 31 | 2e 32 32 20 28 57 69 6e |ozilla 1|.22 (Win|
|000001e0| 64 6f 77 73 3b 20 49 3b | 20 31 36 62 69 74 29 0a |dows; I;| 16bit).|
|000001f0| 54 6f 3a 20 66 6d 65 6c | 6f 40 62 69 71 2e 66 75 |To: fmel|o@biq.fu|
|00000200| 6e 64 70 2e 61 63 2e 62 | 65 0a 0a 48 69 20 43 6f |ndp.ac.b|e..Hi Co|
|00000210| 6c 6c 65 61 67 75 65 73 | 2c 20 49 20 68 61 76 65 |lleagues|, I have|
|00000220| 20 62 65 65 6e 20 6c 65 | 61 72 6e 69 6e 67 20 43 | been le|arning C|
|00000230| 20 6c 61 6e 67 75 61 67 | 65 20 6a 75 73 74 20 66 | languag|e just f|
|00000240| 72 6f 6d 20 6f 6e 65 20 | 6d 6f 6e 74 68 20 61 67 |rom one |month ag|
|00000250| 6f 20 0a 61 6e 64 20 49 | 20 64 6f 6e 27 74 20 6b |o .and I| don't k|
|00000260| 6e 6f 77 20 74 6f 6f 20 | 6d 75 63 68 20 61 62 6f |now too |much abo|
|00000270| 75 74 20 74 68 69 73 20 | 6c 61 6e 67 75 61 67 65 |ut this |language|
|00000280| 2e 20 49 20 68 61 76 65 | 20 61 20 70 72 6f 62 6c |. I have| a probl|
|00000290| 65 6d 20 77 69 74 68 20 | 74 68 65 20 0a 61 73 73 |em with |the .ass|
|000002a0| 69 67 6e 6d 65 6e 74 20 | 6f 66 20 70 6f 69 6e 74 |ignment |of point|
|000002b0| 65 72 73 20 69 6e 20 61 | 6e 20 61 72 72 61 79 20 |ers in a|n array |
|000002c0| 6f 66 20 70 6f 69 6e 74 | 65 72 73 20 77 69 74 68 |of point|ers with|
|000002d0| 20 61 20 73 70 65 63 69 | 66 69 63 61 6c 20 64 65 | a speci|fical de|
|000002e0| 66 69 6e 65 64 20 0a 73 | 74 72 75 63 74 75 72 65 |fined .s|tructure|
|000002f0| 2e 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 3a 0a 0a |. For ex|ample:..|
|00000300| 0a 2f 2a 20 42 4f 58 45 | 53 20 53 54 52 55 43 54 |./* BOXE|S STRUCT|
|00000310| 55 52 45 20 46 4f 52 20 | 54 48 45 20 43 4f 4e 53 |URE FOR |THE CONS|
|00000320| 54 52 55 43 54 49 4f 4e | 20 4f 46 20 41 20 54 52 |TRUCTION| OF A TR|
|00000330| 45 45 20 2a 2f 0a 0a 73 | 74 72 75 63 74 20 62 6f |EE */..s|truct bo|
|00000340| 78 65 73 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 |xes {. | |
|00000350| 20 20 20 20 69 6e 74 20 | 6e 75 6d 62 65 72 3b 0a | int |number;.|
|00000360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 73 74 | | st|
|00000370| 72 75 63 74 20 62 6f 78 | 65 73 20 2a 70 6f 69 6e |ruct box|es *poin|
|00000380| 74 65 72 5f 31 3b 0a 20 | 20 20 20 20 20 20 20 20 |ter_1;. | |
|00000390| 20 20 20 20 20 73 74 72 | 75 63 74 20 62 6f 78 65 | str|uct boxe|
|000003a0| 73 20 2a 70 6f 69 6e 74 | 65 72 5f 32 3b 0a 20 20 |s *point|er_2;. |
|000003b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 73 74 72 75 | | stru|
|000003c0| 63 74 20 62 6f 78 65 73 | 20 2a 70 6f 69 6e 74 65 |ct boxes| *pointe|
|000003d0| 72 5f 33 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |r_3;. | |
|000003e0| 20 20 7d 0a 0a 2f 2a 20 | 41 52 52 41 59 20 4f 46 | }../* |ARRAY OF|
|000003f0| 20 50 4f 49 4e 54 45 52 | 53 20 54 4f 20 42 4f 58 | POINTER|S TO BOX|
|00000400| 45 53 20 53 54 52 55 43 | 54 55 52 45 20 46 4f 52 |ES STRUC|TURE FOR|
|00000410| 20 4d 41 4e 41 47 45 20 | 2a 2f 0a 2f 2a 20 53 4f | MANAGE |*/./* SO|
|00000420| 4d 45 20 42 52 41 4e 43 | 48 45 53 20 4f 46 20 54 |ME BRANC|HES OF T|
|00000430| 48 45 20 54 52 45 45 20 | 20 20 20 20 20 20 20 20 |HE TREE | |
|00000440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2a 2f | | */|
|00000450| 0a 0a 73 74 72 75 63 74 | 20 62 6f 78 65 73 20 2a |..struct| boxes *|
|00000460| 61 72 72 61 79 5f 70 6f | 69 6e 74 65 72 73 20 5b |array_po|inters [|
|00000470| 31 35 5d 3b 0a 0a 0a 53 | 75 70 6f 73 65 20 74 68 |15];...S|upose th|
|00000480| 61 74 20 49 20 68 61 76 | 65 20 74 68 65 20 61 72 |at I hav|e the ar|
|00000490| 72 61 79 20 6f 66 20 70 | 6f 69 6e 74 65 72 73 20 |ray of p|ointers |
|000004a0| 61 6c 72 65 61 64 79 20 | 64 65 66 69 6e 65 64 2c |already |defined,|
|000004b0| 20 77 69 74 68 20 65 76 | 65 72 79 20 0a 70 6f 69 | with ev|ery .poi|
|000004c0| 6e 74 65 72 20 70 6f 69 | 6e 74 69 6e 67 20 74 6f |nter poi|nting to|
|000004d0| 20 61 20 62 6f 78 65 73 | 20 73 74 72 75 63 74 75 | a boxes| structu|
|000004e0| 72 65 20 61 6e 64 20 65 | 76 65 72 79 20 62 6f 78 |re and e|very box|
|000004f0| 65 73 20 73 74 72 75 63 | 74 75 72 65 20 63 6f 6e |es struc|ture con|
|00000500| 74 61 69 6e 73 20 0a 6f | 6e 6c 79 20 74 68 65 20 |tains .o|nly the |
|00000510| 69 6e 74 65 67 65 72 20 | 6e 75 6d 62 65 72 20 64 |integer |number d|
|00000520| 65 66 69 6e 65 64 2e 20 | 49 6e 20 74 68 69 73 20 |efined. |In this |
|00000530| 6d 6f 6d 65 6e 74 20 49 | 20 77 6f 75 6c 64 20 6c |moment I| would l|
|00000540| 69 6b 65 20 74 6f 20 64 | 65 66 69 6e 65 20 0a 74 |ike to d|efine .t|
|00000550| 68 65 20 74 68 72 65 65 | 20 70 6f 69 6e 74 65 72 |he three| pointer|
|00000560| 73 20 69 6e 20 65 76 65 | 72 79 20 62 6f 78 20 69 |s in eve|ry box i|
|00000570| 6e 20 74 68 65 20 77 61 | 79 20 6f 66 20 74 68 65 |n the wa|y of the|
|00000580| 73 65 20 70 6f 69 6e 74 | 65 72 73 20 70 6f 69 6e |se point|ers poin|
|00000590| 74 20 74 6f 20 0a 61 6e | 6f 74 68 65 72 20 65 6c |t to .an|other el|
|000005a0| 65 6d 65 6e 74 20 69 6e | 20 74 68 65 20 61 72 72 |ement in| the arr|
|000005b0| 61 79 2e 20 49 20 68 61 | 76 65 20 74 72 69 65 64 |ay. I ha|ve tried|
|000005c0| 20 73 74 61 74 65 6d 65 | 6e 74 73 20 6c 69 6b 65 | stateme|nts like|
|000005d0| 20 74 68 69 73 20 77 69 | 74 68 20 6f 75 74 20 0a | this wi|th out .|
|000005e0| 73 75 63 63 65 73 73 3a | 0a 0a 0a 28 2a 28 61 72 |success:|...(*(ar|
|000005f0| 72 61 79 5f 70 6f 69 6e | 74 65 72 73 20 2b 20 31 |ray_poin|ters + 1|
|00000600| 29 29 2e 70 6f 69 6e 74 | 65 72 5f 31 20 3d 20 28 |)).point|er_1 = (|
|00000610| 61 72 72 61 79 5f 70 6f | 69 6e 74 65 72 73 20 2b |array_po|inters +|
|00000620| 20 30 29 3b 0a 0a 6f 72 | 0a 0a 28 61 72 72 61 79 | 0);..or|..(array|
|00000630| 5f 70 6f 69 6e 74 65 72 | 73 5b 31 5d 29 2e 70 6f |_pointer|s[1]).po|
|00000640| 69 6e 74 65 72 5f 31 20 | 3d 20 26 61 72 72 61 79 |inter_1 |= &array|
|00000650| 5f 70 6f 69 6e 74 65 72 | 73 5b 30 5d 3b 0a 20 20 |_pointer|s[0];. |
|00000660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 0a | | .|
|00000680| 0a 53 6f 6d 65 62 6f 64 | 79 20 6b 6e 6f 77 20 68 |.Somebod|y know h|
|00000690| 6f 77 20 63 61 6e 20 49 | 20 64 65 66 69 6e 65 20 |ow can I| define |
|000006a0| 61 20 70 6f 69 6e 74 65 | 72 20 69 6e 73 69 64 65 |a pointe|r inside|
|000006b0| 20 74 68 65 20 62 6f 78 | 20 69 6e 20 74 68 65 20 | the box| in the |
|000006c0| 77 61 79 20 74 68 61 74 | 20 0a 69 74 20 70 6f 69 |way that| .it poi|
|000006d0| 6e 74 73 20 74 6f 20 61 | 20 62 6f 78 20 69 6e 20 |nts to a| box in |
|000006e0| 74 68 65 20 61 72 72 61 | 79 20 3f 3f 3f 2c 20 49 |the arra|y ???, I|
|000006f0| 6e 20 61 64 76 61 6e 63 | 65 2c 20 74 68 61 6e 6b |n advanc|e, thank|
|00000700| 20 79 6f 75 20 76 65 72 | 79 20 6d 75 63 68 2c 20 | you ver|y much, |
|00000710| 0a 62 65 73 74 20 77 69 | 73 68 65 73 2c 20 20 20 |.best wi|shes, |
|00000720| 20 20 20 20 20 0a 0a 0a | 20 20 20 20 20 20 20 20 | ...| |
|00000730| 20 20 20 20 20 20 20 20 | 20 20 20 20 46 72 61 6e | | Fran|
|00000740| 63 69 73 63 6f 20 4d 65 | 6c 6f 20 4c 65 64 65 72 |cisco Me|lo Leder|
|00000750| 6d 61 6e 6e 20 20 20 20 | 20 20 20 20 20 20 20 20 |mann | |
|00000760| 20 20 20 20 20 20 20 20 | 20 20 20 20 0a 0a 6d 61 | | ..ma|
|00000770| 69 6c 74 6f 3a 66 6d 65 | 6c 6f 40 62 69 71 2e 66 |ilto:fme|lo@biq.f|
|00000780| 75 6e 64 70 2e 61 63 2e | 62 65 20 0a 0a 68 74 74 |undp.ac.|be ..htt|
|00000790| 70 3a 2f 2f 62 69 71 2d | 70 63 31 2e 62 69 71 2e |p://biq-|pc1.biq.|
|000007a0| 66 75 6e 64 70 2e 61 63 | 2e 62 65 2f 69 6e 64 65 |fundp.ac|.be/inde|
|000007b0| 78 2e 68 74 6d 6c 20 20 | 20 20 0a 0a 0a 0a |x.html | .... |
+--------+-------------------------+-------------------------+--------+--------+